[INFO] cloning repository https://github.com/JimKat-1/QIShort
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JimKat-1/QIShort" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJimKat-1%2FQIShort", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJimKat-1%2FQIShort'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d4e77b4e4bf5c723dbdb2404ea1fe98af8f8c34e
[INFO] checking JimKat-1/QIShort against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJimKat-1%2FQIShort" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JimKat-1/QIShort on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JimKat-1/QIShort
[INFO] finished tweaking git repo https://github.com/JimKat-1/QIShort
[INFO] tweaked toml for git repo https://github.com/JimKat-1/QIShort written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/JimKat-1/QIShort already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 112bdfe3100acfc70fdcbae7a34bfb0b2e72c43f930c2ceb38f6e06f1ef34eb5
[INFO] running `Command { std: "docker" "start" "-a" "112bdfe3100acfc70fdcbae7a34bfb0b2e72c43f930c2ceb38f6e06f1ef34eb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "112bdfe3100acfc70fdcbae7a34bfb0b2e72c43f930c2ceb38f6e06f1ef34eb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "112bdfe3100acfc70fdcbae7a34bfb0b2e72c43f930c2ceb38f6e06f1ef34eb5", kill_on_drop: false }`
[INFO] [stdout] 112bdfe3100acfc70fdcbae7a34bfb0b2e72c43f930c2ceb38f6e06f1ef34eb5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7fedb999ef87645c7f425a8c3b4cb2fa4528583aef3a8f1d40e825ab0cca735c
[INFO] running `Command { std: "docker" "start" "-a" "7fedb999ef87645c7f425a8c3b4cb2fa4528583aef3a8f1d40e825ab0cca735c", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling qishort v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stdout] warning: unused import: `crate::key::Key`
[INFO] [stdout]  --> src/handler/tree.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::key::Key;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tree::*`
[INFO] [stdout]  --> src/handler/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tree::*;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lazy_static::lazy_static`
[INFO] [stdout]  --> src/handler/dir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::lazy_static::lazy_static;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::key::Key`
[INFO] [stdout]  --> src/handler/tree.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::key::Key;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tree::*`
[INFO] [stdout]  --> src/handler/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use tree::*;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::lazy_static::lazy_static`
[INFO] [stdout]  --> src/handler/dir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::lazy_static::lazy_static;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Ok(entries)
[INFO] [stdout]    |     -- ^^^^^^^ expected struct `OsString`, found struct `String`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<OsString>`
[INFO] [stdout]               found struct `Vec<String>`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:48:38
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut dirent = get_dir_entries(dir)?;
[INFO] [stdout]    |                      --------------- ^^^
[INFO] [stdout]    |                      |               |
[INFO] [stdout]    |                      |               expected `&Path`, found struct `PathBuf`
[INFO] [stdout]    |                      |               help: consider borrowing here: `&dir`
[INFO] [stdout]    |                      arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/handler/dir.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn get_dir_entries(dir: &Path) -> Result<Vec<OsString>, Box<dyn Error>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/handler/dir.rs:48:42
[INFO] [stdout]    |
[INFO] [stdout] 47 | / fn fill_tree_from_dir(dir: PathBuf, tree: &mut Tree) {
[INFO] [stdout] 48 | |     let mut dirent = get_dir_entries(dir)?;
[INFO] [stdout]    | |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 49 | |
[INFO] [stdout] 50 | |     for i in dirent {
[INFO] [stdout] ...  |
[INFO] [stdout] 63 | |     }
[INFO] [stdout] 64 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, Box<dyn std::error::Error>>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:55:37
[INFO] [stdout]    |
[INFO] [stdout] 55 |             fill_tree_from_dir(dir, tree);
[INFO] [stdout]    |             ------------------      ^^^^
[INFO] [stdout]    |             |                       |
[INFO] [stdout]    |             |                       expected mutable reference, found struct `HashMap`
[INFO] [stdout]    |             |                       help: consider mutably borrowing here: `&mut tree`
[INFO] [stdout]    |             arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut HashMap<String, tree::TreeEntry>`
[INFO] [stdout]                          found struct `HashMap<String, tree::TreeEntry>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/handler/dir.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn fill_tree_from_dir(dir: PathBuf, tree: &mut Tree) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^ ------------  ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 |     Ok(entries)
[INFO] [stdout]    |     -- ^^^^^^^ expected struct `OsString`, found struct `String`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<OsString>`
[INFO] [stdout]               found struct `Vec<String>`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:48:38
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut dirent = get_dir_entries(dir)?;
[INFO] [stdout]    |                      --------------- ^^^
[INFO] [stdout]    |                      |               |
[INFO] [stdout]    |                      |               expected `&Path`, found struct `PathBuf`
[INFO] [stdout]    |                      |               help: consider borrowing here: `&dir`
[INFO] [stdout]    |                      arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/handler/dir.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn get_dir_entries(dir: &Path) -> Result<Vec<OsString>, Box<dyn Error>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^ ----------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/handler/dir.rs:48:42
[INFO] [stdout]    |
[INFO] [stdout] 47 | / fn fill_tree_from_dir(dir: PathBuf, tree: &mut Tree) {
[INFO] [stdout] 48 | |     let mut dirent = get_dir_entries(dir)?;
[INFO] [stdout]    | |                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 49 | |
[INFO] [stdout] 50 | |     for i in dirent {
[INFO] [stdout] ...  |
[INFO] [stdout] 63 | |     }
[INFO] [stdout] 64 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, Box<dyn std::error::Error>>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:55:37
[INFO] [stdout]    |
[INFO] [stdout] 55 |             fill_tree_from_dir(dir, tree);
[INFO] [stdout]    |             ------------------      ^^^^
[INFO] [stdout]    |             |                       |
[INFO] [stdout]    |             |                       expected mutable reference, found struct `HashMap`
[INFO] [stdout]    |             |                       help: consider mutably borrowing here: `&mut tree`
[INFO] [stdout]    |             arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut HashMap<String, tree::TreeEntry>`
[INFO] [stdout]                          found struct `HashMap<String, tree::TreeEntry>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/handler/dir.rs:47:4
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn fill_tree_from_dir(dir: PathBuf, tree: &mut Tree) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^ ------------  ---------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:56:25
[INFO] [stdout]    |
[INFO] [stdout] 56 |             tree.insert(i, TreeEntry::Tree(tree));
[INFO] [stdout]    |                  ------ ^ expected struct `String`, found struct `OsString`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot construct `tree::Func` with struct literal syntax due to private fields
[INFO] [stdout]   --> src/handler/dir.rs:59:44
[INFO] [stdout]    |
[INFO] [stdout] 59 |             tree.insert(i, TreeEntry::Func(Func {}));
[INFO] [stdout]    |                                            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: ... and other private fields `arg` and `func` that were not provided
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:56:25
[INFO] [stdout]    |
[INFO] [stdout] 56 |             tree.insert(i, TreeEntry::Tree(tree));
[INFO] [stdout]    |                  ------ ^ expected struct `String`, found struct `OsString`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot construct `tree::Func` with struct literal syntax due to private fields
[INFO] [stdout]   --> src/handler/dir.rs:59:44
[INFO] [stdout]    |
[INFO] [stdout] 59 |             tree.insert(i, TreeEntry::Func(Func {}));
[INFO] [stdout]    |                                            ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: ... and other private fields `arg` and `func` that were not provided
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:59:25
[INFO] [stdout]    |
[INFO] [stdout] 59 |             tree.insert(i, TreeEntry::Func(Func {}));
[INFO] [stdout]    |                  ------ ^ expected struct `String`, found struct `OsString`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/handler/dir.rs:59:25
[INFO] [stdout]    |
[INFO] [stdout] 59 |             tree.insert(i, TreeEntry::Func(Func {}));
[INFO] [stdout]    |                  ------ ^ expected struct `String`, found struct `OsString`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `qishort` due to 8 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `qishort` due to 8 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7fedb999ef87645c7f425a8c3b4cb2fa4528583aef3a8f1d40e825ab0cca735c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7fedb999ef87645c7f425a8c3b4cb2fa4528583aef3a8f1d40e825ab0cca735c", kill_on_drop: false }`
[INFO] [stdout] 7fedb999ef87645c7f425a8c3b4cb2fa4528583aef3a8f1d40e825ab0cca735c
